package com.mz.entity;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (OmsGoodsCoupon)表实体类
 *
 * @author makejava
 * @since 2023-12-13 13:38:26
 */
@Data
@Accessors(chain = true)
public class OmsGoodsCoupon  {

    private Long id;

    private String name;
    //0 直接抵扣金额。1 进行折扣
    private String type;
    //如果是直接抵扣金额，则单位是分。如果是折扣，则是 1 ~ 100%
    private Integer value;
    //结束使用的有效期
    private Date validTime;
    //可以开始使用的日期
    private Date startTime;

    private Integer delFlag;

    private Long createBy;

    private Date createTime;

    private Long updateBy;

    private Date updateTime;



}

